package com.kele.reposity;

import com.kele.entity.User;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.Collections;
import java.util.List;

/**
 * @Version 2019
 * @Author:kele
 * @Date:2021/8/7
 * @Content:
 * @Description：
 */

public interface UserReposity {

    public Collection<User> findAll();

    public void addOrUpdate(User user);
    public User findById(Integer id);

    public void deleteById(Integer id);

}
